package subscriber

import (
	"context"
	proto "dh.com/shop/srv/log/proto/log"
	"github.com/micro/go-micro/util/log"
)

//Log
type Log struct{}

//NewLog
func NewLog() *Log {
	return &Log{}
}

//Handle
func (e *Log) Handle(ctx context.Context, msg *proto.LogMessage) error {
	log.Log("Handler Received message: ", msg.Msg)
	return nil
}
